11. GPRS Commands > 11.21 ATS0   Automatic response to a network request for PDP context activation

11.21
ATS0   Automatic response to a network request for PDP context activation
The V.250 ATS0=<n> (Automatic answer) command may be used to turn off (n=0) and on (n>0) the automatic response to a network request for a PDP context activation. See also "3GPP TS 27.007 (GSM 07.07): AT com­mand set for User Equipment (UE)".
When the ATS0=<n> (<n> > 0) command is received, the MT will attempt to perform a GPRS attach if not yet attached and if configured to do so (see AT^SCFG, parameter <gs0aa>). Subsequently, the MT will announce a network request for PDP context activation by issuing the URC RING or CRING to the TE, followed by the inter­mediate result code CONNECT. The MT then enters V.250 online data state and follows the same procedure as it would after receiving a AT+CGANS=1 command with no <L2P> or <cid> values specified.
ATS0=0 does not perform an automatic GPRS detach.
Syntax
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 
GSM 07.07

Parameter Description
 
<n>(num)(&W)(&V)
000(&F)
Disables automatic answer mode.
001-255
Enables automatic answering after specified number of rings.


Notes
•
•
When a network request for PDP context activation is answered automatically and another AT command is issued at the same time on the same interface then this AT command will not be executed. Any response relates to the automatic context activation procedure. If the AT command which caused the collision was a CS data call, the CONNECT response does not pertain to this data call but to GPRS. This can be detected if ATX is not set to 0. The CS data call will issue CONNECT <text>, GPRS will issue CONNECT only.
•
A network request for PDP context activation has a maximum duration of approximately 40 seconds (for details see GSM 04.08). A RING/CRING URC is issued every 5 seconds, so setting parameter <n> to values greater than 7 will not allow a successful context activation and is not recommended.
•
Automatic GPRS attach will not be performed on recalling a stored user profile with ATZ or on power-up, even though a value <n> greater than 0 was stored in the user profile with AT&W.
•
If AT^SCFG="GPRS/ATS0/withAttach","on" is selected, but the automatic GPRS attach attempt fails (e.g. the network rejects the attach request), the ATS0 write command ends up with "ERROR" or "+CME ERROR: unknown" after approx. 5 minutes, though the new <n> value takes effect. This is necessary because ATS0 is used for circuit switched calls too.
•